package com.zb.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author WEN
 * @Date 2023/8/14 0014
 **/
@Data
@Accessors(chain = true)
@ApiModel("商品下拉对象")
public class SelectGoodsVo extends SelectResultVo{
    @ApiModelProperty(value = "图片")
    private String image;

    @ApiModelProperty(value = "字符串数组对象")
    private List<String> strs;

    @ApiModelProperty(value = "商品品牌ID")
    private Long brandId;

    @ApiModelProperty(value = "商品品牌")
    private String brand;

    @ApiModelProperty(value = "商品分类ID")
    private Long typeId;

    @ApiModelProperty(value = "商品分类")
    private String type;

    @ApiModelProperty(value = "商品型号")
    private String model;

    @ApiModelProperty(value = "商品编码")
    private String code;

    @ApiModelProperty(value = "商品货号")
    private String itemNumber;

    @ApiModelProperty(value = "商品规格ID")
    private Long specId;

    @ApiModelProperty(value = "规格名称")
    private String specName;

    @ApiModelProperty(value = "商品规格SKU码")
    private String specSkuCode;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "过保价格")
    private BigDecimal overPrice;

    public SelectGoodsVo(){}

    public SelectGoodsVo(Long id, String name, String image){
        super(id, name);
        this.image = image;
    }

    public SelectGoodsVo(Long id, String name, List<String> strs){
        super(id, name);
        this.strs = strs;
    }
}
